// 蜂窝蜜造平台生成代码，如手工更改，请添加到 .beeignore 忽略生成

package com.fowo.api.entity;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fowo.api.common.annotaion.*;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

/**
 * PaymentStream
 */
@DS("ds24")
@Getter
@Setter
@TableName(value = "payment_stream", autoResultMap = true)
@Schema(title = "回款记录")
public class PaymentStream implements Serializable {

  /**
   * 编号
   */
  @TableField(value = "`id`")
  @TableId(type = IdType.ASSIGN_ID)
  @Schema(title = "编号")
  private Long id;

  /**
   * 店铺
   */
  @TableField(value = "`shop`")
  @Schema(title = "店铺")
  private String shop;

  /**
   * 应收金额
   */
  @TableField(value = "`money`")
  @Schema(title = "应收金额")
  private java.math.BigDecimal money;

  /**
   * 事业部
   */
  @TableField(value = "`division`")
  @Schema(title = "事业部")
  private String division;

  /**
   * 创建时间
   */
  @TableField(value = "`create_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "创建时间")
  private java.util.Date createTime;

  /**
   * 创建人
   */
  @TableField(value = "`create_user`")
  @Schema(title = "创建人")
  private Long createUser;

  /**
   * 更新时间
   */
  @TableField(value = "`last_update_time`")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @Schema(title = "更新时间")
  private java.util.Date lastUpdateTime;

  /**
   * 更新人
   */
  @TableField(value = "`last_update_user`")
  @Schema(title = "更新人")
  private Long lastUpdateUser;

  /**
   * 删除标记
   */
  @TableField(value = "`del_flag`")
  @TableLogic
  @Schema(title = "删除标记")
  private Boolean delFlag;

  /**
   * 日期
   */
  @TableField(value = "`js_date`")
  @Schema(title = "日期")
  private String jsDate;

  /**
   * 是否推送 (是 - 是; 否 - 否; )
   */
  @TableField(value = "`is_publish`")
  @Schema(title = "是否推送")
  private String isPublish;

  /**
   * 应收币种
   */
  @TableField(value = "`currency`")
  @Schema(title = "应收币种")
  private String currency;

  /**
   * 收款币种
   */
  @TableField(value = "`currency2`")
  @Schema(title = "收款币种")
  private String currency2;

  /**
   * 收款金额
   */
  @TableField(value = "`money2`")
  @Schema(title = "收款金额")
  private String money2;

  /**
   * 银行科目
   */
  @TableField(value = "`bank_account`")
  @Schema(title = "银行科目")
  private String bankAccount;
}
